<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   design_default
 * @package    Mage
 */
?>

<div class="page-head">
    <h3><?php echo $this->__('Your payment is succeed!Your order has been received') ?></h3>
    <div class="success-msg" ><?php echo $_SESSION['payment_details'];?></div>
</div>
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
<p>
 <?php if ($this->canPrint()) :?>
  <?php echo $this->__('Your order # is: <a href="%s">%s</a>', $this->getViewOrderUrl(), $this->getOrderId()) ?>.<br/>
  <?php  else :?>
  <?php echo $this->__('Your order # is: %s', $this->getOrderId()) ?>.<br/>
  <?php endif;?>

    <?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?><br/>
    <?php if ($this->canPrint()) :?>
    <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
    <?php endif;?>
    <?php echo $this->getChildHtml() ?>
</p>
<div class="button-set">
    <button type="button" class="form-button" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><?php echo $this->__('Continue Shopping') ?></span></button>
</div>